@w: 200px;

.container {
  max-width: 1200px;
  margin: 50px auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  place-items: stretch center;
  gap: 40px 20px;
  text-align: center;

  .items {
    width: @w;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    > a:first-child {
      display: block;
      width: 100%;
      height: 100%;
      border: 1px solid #ccc;
    }

    .cover {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .title {
      width: 100%;
      font-size: 18px;
      font-weight: 600;
      margin-top: 10px;
      display: inline-block;
    }

    .rate {
      font-size: 14px;
      color: #e4a64a;
      margin-top: 5px;
    }
  }
}
